Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport maintenance/3.0.x] Fix used-before-assignment FP for generic type syntax (Py 3.12) #9154

Merged

Conversation

github-actions[bot]
Copy link
Contributor

Backport cb29fbd from #9150.

@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Oct 16, 2023
@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.0.2 milestone Oct 16, 2023
@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) October 16, 2023 14:25
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Merging #9154 (d279e14) into maintenance/3.0.x (a77f0c1) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           maintenance/3.0.x    #9154   +/-   ##
==================================================
  Coverage              95.76%   95.76%           
==================================================
  Files                    173      173           
  Lines                  18686    18688    +2     
==================================================
+ Hits                   17895    17897    +2     
  Misses                   791      791           
Files Coverage Δ
pylint/checkers/variables.py 97.23% <100.00%> (+<0.01%) ⬆️

)

* Fix `used-before-assignment` FP for generic type syntax (Py 3.12)

* Bump astroid to 3.0.1

(cherry picked from commit cb29fbd)
@Pierre-Sassoulas Pierre-Sassoulas force-pushed the backport-9150-to-maintenance/3.0.x branch from 068f8fc to d279e14 Compare October 16, 2023 15:01
@Pierre-Sassoulas Pierre-Sassoulas merged commit 759e2cc into maintenance/3.0.x Oct 16, 2023
22 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the backport-9150-to-maintenance/3.0.x branch October 16, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code python 3.12
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants